# 快速配置c/c++开发调试环境
FROM debian:13.2-slim
ENV TZ=Asia/Shanghai
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list.d/debian.sources  && apt-get -y update && apt-get install -y
# Install the Clang compiler
RUN apt-get -y install clang vim gdb && apt-get clean && rm -rf /var/lib/apt/lists/*
# Specify the working directory
WORKDIR /usr/src/gcctest

# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/mygcc:d132slim  .
# docker run -it -d -v /root/abc:/usr/src/gcctest registry.cn-hangzhou.aliyuncs.com/xiaoyilin/mygcc:d132slim  /bin/bash